//---------C++---------
#include<iostream>
#include<string>
//---------C-----------
#include<cerrno>
//--------system--------
#include<signal.h>

using namespace std;
void Guide(){
    cout << "Please input pid and signal!!!" << endl;
}
int main(int argc , char* argv[]){
    if(argc != 3){
        Guide();
        exit(-1);
    }
    int n = kill((pid_t)stoi(argv[1]),(int)stoi(argv[2]));
    if(n == -1){
        cerr<< "kill error" << endl;
        exit(-1);
    }
    
    return 0;
}